<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    div{
        margin: 100px;
        width: 200px;
        height: 300px;
        background: salmon;
        transition: all 1s;
    }
    div:hover{
        transform: translateY(-20px);
        box-shadow: 0 0 5px 2px #666666;
    }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>